.terminal {
  min-height: 80px;
  padding: 10px;
  border: 1px solid #292c33;
  background-color: #2f333d;
  color: #c5c8c6;
}

.ellipsis {
  position: relative;
  width: 10px;
  height: 10px;

  span {
    position: absolute;
    top: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c5c8c6;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);

    &:nth-child(1) {
      left: 0;
      animation: ellipsis1 0.6s infinite;
    }
    &:nth-child(2) {
      left: 0;
      animation: ellipsis2 0.6s infinite;
    }
    &:nth-child(3) {
      left: 24px;
      animation: ellipsis2 0.6s infinite;
    }
    &:nth-child(4) {
      left: 48px;
      animation: ellipsis3 0.6s infinite;
    }
  }
}

@keyframes ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
